<template>
    <el-card>
        <div>
           <i
      :class="{
        'el-icon-s-fold': !isCollapse,
        'el-icon-s-unfold': isCollapse
      }"
      @click="$emit('toggle-collapse')"
      class="toggle-icon"
    ></i>
      <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item 
        v-for="(item, index) in $route.matched"
        :key="index" style="font-size:18px;">
           {{item.name}}
        </el-breadcrumb-item>
      </el-breadcrumb> 
        </div>
    </el-card>
</template>

<script>
export default {
  props: ['isCollapse']
};
</script>

<style scoped>
.el-breadcrumb ::v-deep .el-breadcrumb__inner {
  color: #4f5c97 !important;
}
</style>